package cn.edu.xmu.server.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CommUtils {
    public static String getNowDateLongStr(String pattern) {
        SimpleDateFormat sdf = new SimpleDateFormat(pattern);
        return sdf.format(new Date());
    }
}
